# Contributor: Rejah Rehim <rejah@beaglesecurity.com>
# Maintainer: Rejah Rehim <rejah@beaglesecurity.com>
pkgname=py3-pyvows
_pkgname=pyVows
pkgver=3.0.0
pkgrel=4
pkgdesc="BDD test engine based on Vows.js"
url="https://github.com/heynemann/pyvows"
arch="noarch"
license="MIT"
depends="python3 py3-gevent py3-preggy"
makedepends="py3-setuptools"
checkdepends="py3-pytest py3-colorama py3-coverage"
subpackages="$pkgname-doc $pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/p/$_pkgname/$_pkgname-$pkgver.tar.gz
drop-requirements.patch"
builddir="$srcdir"/$_pkgname-$pkgver

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}
package() {
	python3 setup.py install --skip-build --root="$pkgdir"
	install -Dm644 README.md "$pkgdir"/usr/share/licenses/$pkgname/README.md
}

sha512sums="
7dbbe5b641c9c374f4c51c45cf5db2188685dd889a50dcf3eba9100c0c899c8785ab7ec3743e3b3eebc590aeb06d4aeb8843a0c43037fcac85d8b6b7eba30b1f  pyVows-3.0.0.tar.gz
a54bc0c5ac42f6ba2bf0c8d37b4a5dbd31c7945e6bcfc0f4f8548ecef967ba94572ae6f7b53a52fdd1381583284000a3ebc46a062ae02f68daed487c9b797107  drop-requirements.patch
"
